SaveAsJpeg(Stream,Nullable<Rectangle>,Int32) Method
In This Topic
Saves the image into a Stream in JPEG format with specified quality (from 0 to 100).
Syntax
'Declaration
Public Overloads Sub SaveAsJpeg( _
ByVal As System.IO.Stream, _
Optional ByVal As System.Nullable(Of Rectangle), _
Optional ByVal As System.Integer _
)
public void SaveAsJpeg(
System.IO.Stream ,
System.Nullable<Rectangle> ,
System.int
)
Parameters
- stream
- The output stream.
- clipRect
- Clipping rectangle of the image to be saved.
- quality
- The image quality from 0 (best compression) to 100 (best quality).
See Also